import Store from "store2"
let Region = JSON.parse(Store.get("region")) || {region_id:0,parent_id:0,region_name:"全国"};

const state = {
    login:false,
    userData:{
       phone:"18229975952",
       icon:"static/img/sina_logo_sina1999_512px_507335_easyicon.net.png",
       name:"18229975952",
       isAgency:false,
       AgencyPass:false,
       token:"1234564555",
       id:"",
    },
    goodsTypes:{
       list:[],
       active:'-1'
    },
    drawer:{
      state:false
    },
    common:{
      loading:false,
      headerState:1,
      region:Region
    },
    setting:{
      selectedList:[],
    },
    classify:{
      mode:1
    },
    header:{
      filter:1
    },
    goodsShareList:[]
};
export default state
